#@layout()


#define main()
<!-- 内容容器 -->
<div class="user-mine">
    <div class="layui-form layui-form-pane" style="display:block;">
        <form class="layui-form" method="post" action="/app/save">
            <div class="layui-form-item">
                <label for="L_app" class="layui-form-label">应用名称</label>
                <div class="layui-input-inline">
                    <input type="text" id="L_app" required lay-verify="required" name="app.client_name" autocomplete="off"  class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <p>创建应用名称后，后台会自动生成全栈唯一的 client_id  client_secret</p>
            </div>

            <div class="layui-form-item">
                <button class="layui-btn" key="set-mine" lay-filter="*" lay-submit>创建</button>
            </div>
        </form>
    </div>

</div>
#end

#define css()
#end

#define js()
<script type="text/javascript">
    layui.use(['form'], function(){
        var form = layui.form()
        ,layer = layui.layer;
    });
</script>

#end
